#include "furniture.h"
#include <iostream>
using namespace std;

namespace iotek {

Sofa::Sofa(int weight) : m_weight(weight) {}
void Sofa::setWeight(int weight) {
  m_weight = weight;
}
int Sofa::getWeight() {
  return m_weight;
}
void Sofa::watchTV() {
  cout << "watchTV" << endl;
}

Bed::Bed(int weight) : m_weight(weight) {}
void Bed::setWeight(int weight) {
  m_weight = weight;
}
int Bed::getWeight() {
  return m_weight;
}
void Bed::sleep() {
  cout << "sleep" << endl;
}

Sofabed::Sofabed(int weight) : Sofa(weight), Bed(weight) {}
void Sofabed::foldout() {
  cout << "sofabed foldout" << endl;
}

}